package com.jxl.springboot.game.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 游戏信息
 *
 * @author 江雪林
 * @create 2021-03-29
 */
public class GameInfo {
    private Integer id;//主键id
    private String softwareName;//软件名称
    private String apkName;//APK名称（唯一）
    private String supportRom;//支持ROM
    private String interfaceLanguage;//界面语言
    private Double softwareSize;//软件大小（单位：M）
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTm;//更新日期
    private Integer devId;//开发者id（来源于：dev_user表的开发者id）
    private String appInfo;//应用简介
    private Integer status;//状态（来源于：data_dictionary，1 待审核 2 审核通过 3 审核不通过 4 已上架 5 已下架）
    private String statusValue;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date onSaleTm;//上架时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date offSaleTm;//下架时间
    private Integer flatformId;//所属平台（来源于：data_dictionary，1 手机 2 平板 3 通用）
    private Integer categoryLevel3;//所属三级分类（来源于：data_dictionary）
    private Integer downloads;//下载量（单位：次）
    private Integer creater;//创建者（来源于dev_user开发者信息表的用户id）
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTm;//创建时间
    private Integer modifyor;//更新者（来源于dev_user开发者信息表的用户id
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date modifyTm;//最新更新时间
    private Integer categoryLevel1;//所属一级分类（来源于：data_dictionary）
    private Integer categoryLevel2;//所属二级分类（来源于：data_dictionary）
    private String logoPicPath;//LOGO图片url路径
    private String logoLocPath;//LOGO图片的服务器存储路径
    private Integer versionId;//最新的版本id
    private String versionNo;

    public GameInfo() {
    }

    public GameInfo(Integer id, Integer status) {
        this.id = id;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSoftwareName() {
        return softwareName;
    }

    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }

    public String getApkName() {
        return apkName;
    }

    public void setApkName(String apkName) {
        this.apkName = apkName;
    }

    public String getSupportRom() {
        return supportRom;
    }

    public void setSupportRom(String supportRom) {
        this.supportRom = supportRom;
    }

    public String getInterfaceLanguage() {
        return interfaceLanguage;
    }

    public void setInterfaceLanguage(String interfaceLanguage) {
        this.interfaceLanguage = interfaceLanguage;
    }

    public Double getSoftwareSize() {
        return softwareSize;
    }

    public void setSoftwareSize(Double softwareSize) {
        this.softwareSize = softwareSize;
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    public Integer getDevId() {
        return devId;
    }

    public void setDevId(Integer devId) {
        this.devId = devId;
    }

    public String getAppInfo() {
        return appInfo;
    }

    public void setAppInfo(String appInfo) {
        this.appInfo = appInfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getOnSaleTm() {
        return onSaleTm;
    }

    public void setOnSaleTm(Date onSaleTm) {
        this.onSaleTm = onSaleTm;
    }

    public Date getOffSaleTm() {
        return offSaleTm;
    }

    public void setOffSaleTm(Date offSaleTm) {
        this.offSaleTm = offSaleTm;
    }

    public Integer getFlatformId() {
        return flatformId;
    }

    public void setFlatformId(Integer flatformId) {
        this.flatformId = flatformId;
    }

    public Integer getCategoryLevel3() {
        return categoryLevel3;
    }

    public void setCategoryLevel3(Integer categoryLevel3) {
        this.categoryLevel3 = categoryLevel3;
    }

    public Integer getDownloads() {
        return downloads;
    }

    public void setDownloads(Integer downloads) {
        this.downloads = downloads;
    }

    public Integer getCreater() {
        return creater;
    }

    public void setCreater(Integer creater) {
        this.creater = creater;
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public Integer getModifyor() {
        return modifyor;
    }

    public void setModifyor(Integer modifyor) {
        this.modifyor = modifyor;
    }

    public Date getModifyTm() {
        return modifyTm;
    }

    public void setModifyTm(Date modifyTm) {
        this.modifyTm = modifyTm;
    }

    public Integer getCategoryLevel1() {
        return categoryLevel1;
    }

    public void setCategoryLevel1(Integer categoryLevel1) {
        this.categoryLevel1 = categoryLevel1;
    }

    public Integer getCategoryLevel2() {
        return categoryLevel2;
    }

    public void setCategoryLevel2(Integer categoryLevel2) {
        this.categoryLevel2 = categoryLevel2;
    }

    public String getLogoPicPath() {
        return logoPicPath;
    }

    public void setLogoPicPath(String logoPicPath) {
        this.logoPicPath = logoPicPath;
    }

    public String getLogoLocPath() {
        return logoLocPath;
    }

    public void setLogoLocPath(String logoLocPath) {
        this.logoLocPath = logoLocPath;
    }

    public Integer getVersionId() {
        return versionId;
    }

    public void setVersionId(Integer versionId) {
        this.versionId = versionId;
    }

    public String getStatusValue() {
        return statusValue;
    }

    public void setStatusValue(String statusValue) {
        this.statusValue = statusValue;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo;
    }

    @Override
    public String toString() {
        return "GameInfo{" +
                "id=" + id +
                ", softwareName='" + softwareName + '\'' +
                ", apkName='" + apkName + '\'' +
                ", supportRom='" + supportRom + '\'' +
                ", interfaceLanguage='" + interfaceLanguage + '\'' +
                ", softwareSize=" + softwareSize +
                ", updateTm=" + updateTm +
                ", devId=" + devId +
                ", appInfo='" + appInfo + '\'' +
                ", status=" + status +
                ", statusValue='" + statusValue + '\'' +
                ", onSaleTm=" + onSaleTm +
                ", offSaleTm=" + offSaleTm +
                ", flatformId=" + flatformId +
                ", categoryLevel3=" + categoryLevel3 +
                ", downloads=" + downloads +
                ", creater=" + creater +
                ", createTm=" + createTm +
                ", modifyor=" + modifyor +
                ", modifyTm=" + modifyTm +
                ", categoryLevel1=" + categoryLevel1 +
                ", categoryLevel2=" + categoryLevel2 +
                ", logoPicPath='" + logoPicPath + '\'' +
                ", logoLocPath='" + logoLocPath + '\'' +
                ", versionId=" + versionId +
                ", versionNo='" + versionNo + '\'' +
                '}';
    }
}
